<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
  <head>
    <script src="../resources/js-test.js"></script>
  </head>
  <body id="body">
    <svg>
      <g role="listitem">
        <rect id="rect" role="img" aria-label="very light magenta" x="40" y="246" width="20" height="20" class="key colour1"></rect>
      </g>
    </svg>
    <p id="description"></p>
    <div id="console"></div>
    <script>
      description("This tests that asking for the path from a SVG element that does not have one will not crash.");
      if (window.accessibilityController) {
        var rect = accessibilityController.accessibleElementById("rect");
        debug(rect.pathDescription);
      }
    </script>
  </body>
</html>
